package com.yaozheng.vocationaltraining.activity;

import org.androidannotations.annotations.AfterViews;
import org.androidannotations.annotations.EActivity;

import com.yaozheng.vocationaltraining.R;
import com.yaozheng.vocationaltraining.fragment.PaperCatalogFragment;
import com.yaozheng.vocationaltraining.fragment.PaperCatalogFragment_;

/**
 * 听课随堂检测
 * 
 * @author xiaoqing
 * 
 */
@EActivity(R.layout.activity_lecture_quiz_detection)
public class LectureQuizDetectionActivity extends BaseActivity {
	/**
	 * 试卷目录碎片
	 */
	PaperCatalogFragment paperCatalogFragment;

	@AfterViews
	public void intiView() {
		openPaperCatalogFragment();
	}

	/**
	 * 打开试卷目录碎片
	 */
	public void openPaperCatalogFragment() {
		if (paperCatalogFragment == null) {
			paperCatalogFragment = PaperCatalogFragment_.builder().build();

		}
		showCurrFragment(paperCatalogFragment, false);
	}
}
